package com.common.dao;



import java.util.List;

import com.common.model.Admin;
import com.common.model.Biotech;
import com.common.model.User;



public interface UserDAO {
	public User login(String username,String password);
	public User bLogin(String username,String password);
	public User wLogin(String username,String password);
	public User load(int id);
	public boolean reg(User user);
	public boolean wDel(User user);
	public boolean bDel(User user);
	public List<User> list(String name);
	public List<User> list_baoxiu();
	public List<User> list_weixiu();
	public boolean bupdate(User user);
	public List<User> list0(String username);
	public User load1(int id);
}
